package cn.cy.structure.decorator.general;

/**
 * @author yangxq
 * @desc
 * @date 2025-05-12
 */
public class SugarCoffee extends Coffee {

    public SugarCoffee() {
        description = "Sugar Coffee"; // 添加糖
    }

    public double cost() {
        return super.cost() + 0.20; // 糖附加费用
    }

}
